keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway

Error in sending sms using HTML to SMS API

7 years 8 months ago #11170 by lindali
Hi,

Please update your firmware to this one:
www.openvox.cn/pub/firmwares/GSM%20Gatew...6-08-10-09-22-33.bin
It will solve your problem.
If you have any other questions, you can contact me via skype below.

Best regards,
skype: linda.li258
email: This email address is being protected from spambots. You need JavaScript enabled to view it.
7 years 8 months ago #11171 by Bootsector
Is the firmware compatible for my device?

This is the device info:
Device: GSM Gateway
Model: VS-GGU-E2M0400
Modem description: 850/900/1800/1900MHz@GSM
Software Version: 2.3.1
Hardware Version: Date 2012-11-09 FPGA 11 Hardware 00
Build Time: 2016-06-12 09:35:23

Thanks.
7 years 8 months ago #11172 by lindali
yes
7 years 8 months ago #11173 by Bootsector
Thank you.
7 years 8 months ago - 7 years 8 months ago #11174 by Bootsector
Hi lindali,

The firmware fixed the error but api returns invalid JSON report.

Here is the return JSON report from the above mentioned URL.
	{
		"message":"Test with " double quote",
		"report":[{
			"1":[{
				"port":"gsm-1.2",
				"phonenumber":"XXXXXXXXXXX",
				"time":"2016-08-29 12:08:19",
				"result":"success"
			}]
		}]
	}

The above JSON report cannot be decoded in php using json_decode() function because of the message value with " is not properly escaped.
7 years 8 months ago #11176 by lindali
Hi,

Sorry for it. It's a known problem. When you need use " double quote, please use ' single quote instead of it.
Time to create page: 0.051 seconds
Powered by Kunena Forum